home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 May / PCWMAY06.iso / Software / Trial / ConceptDraw NetDiagrammer / data1.cab / Samples__Basic / SimpleDrawing / DrawFillShadow / ReadMe.txt < prev   
Text File  |  2006-02-08  |  958b  |  4 lines

  1. This sample illustrates how to use the ConceptDraw Basic scripting language to build basic ConceptDraw shapes. It shows how to control the fill and shadow properties of shapes with ConceptDraw Basic objects. 
  2. The DrawFillShadow procedure clears the active documents from the shapes in it. Then a collection of shapes is added in a loop, each shape demonstrates one of the pre-set fill and shadow patterns. The shapes are arranged in a form of a table. The text of each shape contains the number of the used pattern. Such table will be convenient for quick search of the necessary
  3. pattern.
  4. The DrawFillShadow() procedure is located in the external module DrawFillShadow.cdb and is called from a document-level script. If the "Enable ConceptDraw Basic script autorun" flag is not set in the Preferences dialog of ConceptDraw, the script can be run from the ConceptDraw Basic editor (Tools->ConceptDraw Basic->Document Script->Edit) from the Build->Run menu.